<template>
    <div>
        <div class="plus">+</div>
        <div class="content" @click="$emit('addOrDel')">
            <slot></slot>
        </div>
        <div class="sub">-</div>

    </div>
</template>

<script setup>
defineProps({
    item:{
        type:Object,
        default:()=>({})
    }
})
</script>

<style lang="scss" scoped>
.plus,.sub{
    width: 30px;
    height: 20px;
    background-color: #464646;
    border-radius: 50%;
    font-size: 18px;
    margin-right: 10px;
}
.content{

}

</style>